/* DetailPanel.module.css */

.detailPanel {
    padding: 20px;
    background-color: #f8f8f8;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;

    flex: 1;
    max-height: 100%;
    overflow-y: scroll;
    box-sizing: border-box;
  }
  
  .detailPanel h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
  }
  
  .time {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
  }
  
  .image {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 15px;
  }
  
  .description {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
  }
  
  /* 响应式设计 */
  @media (max-width: 768px) {
    .detailPanel {
      padding: 15px;
    }
  
    .detailPanel h2 {
      font-size: 20px;
    }
  
    .description {
      font-size: 14px;
    }
  }